package com.crm.common.crm.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import com.crm.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 训练营模式
 */
@Data
@TableName("bill_crm_training")
public class BillCrmTraining implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务名称
     */
    @Excel(name = "业务名称")
    private String businessName;

    /**
     * 处理字段
     */
    @Excel(name = "处理字段")
    private String field;

    /**
     * 状态 0 停用 1启用
     */
    @Excel(name = "状态 0 停用 1启用")
    private Integer status;


    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createUserId;

    @TableField(exist = false)
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUserId;

    @TableField(exist = false)
    private String updateUserName;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
